home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 2 / CU Amiga Magazine's Super CD-ROM 02 (1996)(EMAP Images)(GB)[!][issue 1996-04].iso / magazine / amiga_e / amigae.jan.archive / 000026_crash!archiduc…rit.fr!vintenat_Wed, 12 Jan 94 00:59:07 PST.msg < prev    next >
Text File  |  1994-02-17  |  9KB  |  188 lines

  1. Received: by bkhouse.cts.com (V1.17-beta/Amiga)
  2.       id <1kcf@bkhouse.cts.com>; Wed, 12 Jan 94 00:59:07 PST
  3. Received: from archiduc.irit.fr by crash.cts.com with smtp
  4.     (Smail3.1.28.1 #18) id m0pJldq-0000epC; Tue, 11 Jan 94 08:08 PST
  5. Received: from localhost (vintenat@localhost) by archiduc.irit.fr (8.6.4/8.6.4) id RAA06189 for amigae@bkhouse.cts.com; Tue, 11 Jan 1994 17:07:30 GMT
  6. Date: Tue, 11 Jan 1994 17:07:30 GMT
  7. Message-Id: <199401111707.RAA06189@archiduc.irit.fr>
  8. From: Lionel VINTENAT <vintenat@archiduc.irit.fr>
  9. To: amigae@bkhouse.cts.com
  10. Subject: Who I am ... and something new for MUI
  11.  
  12.     Hi everybody (and happy new year !),
  13.  
  14.     As I am new on this mailing list, I introduce myself.
  15.     First of all, I am French and my English is very very bad as you can
  16. see. So I apologize for this message and the ones which will come.
  17.     Second, I am a student of a french ingeneering school (the ENSEEIHT) and
  18. I am in the computer section of this school. Now, it's my third (and last)
  19. year in this school. My favourite domain is computer architecture and assembling
  20. language.
  21.     Of course my personal computer is an Amiga (you know, the only one who
  22. makes it possible...). My exact configuration is :
  23.     - A2000B
  24.     - a GVP 68030/68882 (40Mhz) board
  25.     - 8 Mo FAST RAM
  26.     - HD 100 Mo
  27.     - kickfile 3.0
  28.     My favourite interest with it is public domain, sometimes games and of
  29. course system programmation. As it is difficult to program all in assembling
  30. language, I choose the best (for my point of view) compilator for the Amiga,
  31. namely Amiga E. I LOVE its speed and it is so easy to use.. but you know all
  32. that.
  33.     It's a long time I know this mailing list, but I never try to subscribe
  34. it cause of my too bad English. But now I think I have good reasons to do it.
  35. Indeed, I make a E preprocessor which only supports macros replacing. Why did
  36. I make it ? Because I wanted to use MUI with Amiga E, and to program MUI without
  37. macros is quite impossible. So with this preprocessor (called Mac2E), I made
  38. all that is needed to use MUI 1.4 with. The good news is that a wonderful
  39. MUI builder (written by a friend) will be available soon (see below). So
  40. I convince my friend to make the generated code of his MUI-Builder to be
  41. generic, in order to be able to generate any kind of code. And I success !
  42. So MUI-Builder (for the moment) is able to generate C and ... E code. The very
  43. good news is that I put Mac2E on aminet wednesday morning (in France), and my
  44. friend will put his MUI-Builder (with my E code generation module) wednesday
  45. morning too. Of course, if some of you want more precise information on them,
  46. I can answer (e-mail me at vintenat@irit.fr). If there is a lot of identical
  47. questions, I will make a global report to this list. I can also e-mail the 2
  48. archives for those of you who haven't ftp access or who can't wait.
  49.  
  50.     That's all, I hope all these news will interest you...
  51.  
  52.     See you soon, Lionel
  53.  
  54. PS: Someone told me about a next 3.0 version of Amiga E which will be soon
  55. available. Can someone confirm me this news (with perhaps a date...) ?
  56. From crash!freenet.carleton.ca!ad047 Wed, 12 Jan 94 01:01:59 PST
  57. Received: by bkhouse.cts.com (V1.17-beta/Amiga)
  58.       id <1kga@bkhouse.cts.com>; Wed, 12 Jan 94 01:01:59 PST
  59. Received: from freenet-news.carleton.ca by crash.cts.com with smtp
  60.     (Smail3.1.28.1 #18) id m0pJs0h-00006qC; Tue, 11 Jan 94 14:56 PST
  61. Received: from freenet.carleton.ca by freenet-news.carleton.ca (4.1/SMI-4.0)
  62.     id AA24568; Tue, 11 Jan 94 17:56:13 EST
  63. Received: from localhost (ad047@localhost) by freenet.carleton.ca (8.6.4/8.6.4) id RAA27018; Tue, 11 Jan 1994 17:56:17 -0500
  64. Date: Tue, 11 Jan 1994 17:56:17 -0500
  65. Message-Id: <199401112256.RAA27018@freenet.carleton.ca>
  66. Reply-To: ad047@freenet.carleton.ca
  67. From: ad047@freenet.carleton.ca (Stephane Costisella)
  68. To: amigae@bkhouse.cts.com
  69. Subject: Janus.library
  70.  
  71.  
  72. Does any one has or can build the Janus.m to use the Janus.Library, this
  73. library let you control the Bridgeboards. If someone has a C example I can
  74. convert it to E.
  75.  
  76.  
  77.  
  78. --
  79. ------------------------------------------------------------------------------
  80. | Stephane Costisella, Hull Quebec, Canada  | Talk me about: //3D Raytracing |
  81. | Freenet: ad047@freenet.carleton.ca        | ------------- // Programming   |
  82. |___________________________________________|            \\//  CommodoreAMIGA|
  83. From crash!tso.uc.EDU!usr1400a Wed, 12 Jan 94 01:03:25 PST
  84. Received: by bkhouse.cts.com (V1.17-beta/Amiga)
  85.       id <1kif@bkhouse.cts.com>; Wed, 12 Jan 94 01:03:25 PST
  86. Received: from ROLL.SAN.UC.EDU by crash.cts.com with smtp
  87.     (Smail3.1.28.1 #18) id m0pJvze-0000rGC; Tue, 11 Jan 94 19:11 PST
  88. Received: from tso.uc.edu by UCBEH.SAN.UC.EDU (PMDF V4.2-14 #4918) id
  89.  <01H7KLTIYBFK91W2Q9@UCBEH.SAN.UC.EDU>; Tue, 11 Jan 1994 22:12:17 EST
  90. Received: by tso.uc.edu (4.1/SMI-4.1) id AA12952; Tue, 11 Jan 94 22:09:13 EST
  91. Date: Tue, 11 Jan 1994 22:09:13 -0500 (EST)
  92. Message-id: <9401120309.AA12952@tso.uc.edu>
  93. Content-transfer-encoding: 7BIT
  94. From: usr1400a@tso.uc.EDU (Carl Jolley)
  95. To: amigae@bkhouse.cts.COM
  96. Subject: Re: SetFunction and calling E code
  97.  
  98. Subject: Re: SetFunction and calling E code
  99. > ome time ago I was trying to get SetFunction() to work from E.  I tried a
  100. > kinds of things (and not very many of them were sensible).  Recently I as
  101. > Wouter if he could give me an example of how to use CreateNewProc() from
  102. > and he came up with a lovely little example (albeit using AddTask()).  Th
  103. > everything fell into place and I realised what I'd been doing wrong.  The
  104. > following example program shows, I think, how you should do it.
  105.  
  106. [rest deleted]
  107.  
  108. I had previously gotten SetFunction to work but I ran across the CreateProc
  109. function on a different project. I wanted to try to "clone" Olaf Barthel's
  110. little utility that opens a little window in the window title bar and
  111. maintains a display of the current head number of each diskette on the
  112. system and changes each time any diskette head changes position. This
  113. program was called TrackDisplay by Mr. Barthel. I called mine E_TrackDisplay.
  114. I had access to Olaf's C source code so I had a good head start on how to
  115. write the program. Some of the items that I included in my code were:
  116. cli/shell self-detaching, setting up an interrupt and tying it to the
  117. verticle blank interrupt. In doing the cli self-detach, I effectively fired
  118. up a copy of the E program via CreateProc (I'm running 1.3) and the trick
  119. about copying the value of A4 was, of course, crutial to getting the
  120. "cloned" program to run properly. If I recall properly, I saved a copy of
  121. A4 so that the interrupt code could address E global variables. I passed
  122. the value of A4 to the interrupt via the is.data field. In debugging the
  123. program I had a situation where I was failing to free 24 bytes of memory
  124. I used the SetFunction to trace AllocMem/FreeMem calls. That was a trip.
  125. BTW, A4 provides the means to address global variables in an E program,
  126. but if you are calling code and need to be able to address local variables,
  127. you have to save and restore A5. As it turns out A5 will have a different
  128. value if calling from the main procedure vs. calling from a PROC.
  129. From crash!netaxs.com!rcw Wed, 12 Jan 94 01:03:57 PST
  130. Received: by bkhouse.cts.com (V1.17-beta/Amiga)
  131.       id <1kj8@bkhouse.cts.com>; Wed, 12 Jan 94 01:03:57 PST
  132. Received: from netaxs.com by crash.cts.com with smtp
  133.     (Smail3.1.28.1 #18) id m0pJxQ7-0001O5C; Tue, 11 Jan 94 20:43 PST
  134. Received: from access.netaxs.com (rcw@access.netaxs.com [198.187.46.5]) by netaxs.com (8.6.4/8.5) with ESMTP id XAA19063; Tue, 11 Jan 1994 23:41:52 -0500
  135. Received: from localhost by access.netaxs.com
  136.     id XAA02973; Tue, 11 Jan 1994 23:42:43 -0500
  137. Posted-Date: Tue, 11 Jan 1994 23:42:43 -0500
  138. Date: Tue, 11 Jan 1994 23:40:32 -0500 (EST)
  139. Message-ID: <Pine.3.05.9401112332.A2888-b100000@access.netaxs.com>
  140. MIME-Version: 1.0
  141. Content-Type: TEXT/PLAIN; charset=US-ASCII
  142. From: "Robert C. Wilson" <rcw@access.netaxs.com>
  143. To: amigae@bkhouse.cts.com
  144. Subject: Address of field within OBJECT?
  145.  
  146.  
  147. Hi!  I'm new to this mailing list so I don't know if this has been covered
  148. before or not.  I'm trying to get the address of a specific field
  149. within an object.  Is this possible?  Here's an example...
  150.  
  151. 'exec/lists.m' has an object thus:
  152.  
  153.    OBJECT lh
  154.      head     : LONG
  155.      tail     : LONG
  156.      tailpred : LONG
  157.      <etc..>
  158.    ENDOBJECT
  159.  
  160. In my source code:
  161.  
  162. DEF   broker_list : PTR TO lh;
  163.       broker_list := New(SIZEOF lh);
  164.    
  165. Now, what I need to do is set 'broker_list.head' to the address of
  166. 'broker_list.tail'.  (This is part of the setup of a list header
  167. for using exec linked list functions.  amiga.lib has routine NewList()
  168. to do this but, alas, we don't have it in E... yet)
  169.  
  170. I tried this: 
  171.  
  172.    broker_list.head := {broker_list.tail};
  173.  
  174. But E did not like it.  What I ended up doing was this:
  175.  
  176.    broker_list.head := broker_list + 4;
  177.  
  178. This is really poor style and I was hoping for a better way to it.
  179. Any suggestions?  Thanks...
  180.  
  181. -Rob
  182.  
  183. -----------------------------------------------------------------------------
  184. Robert C. Wilson                                "Huh huh huh huh huh...
  185. <rcw@access.netaxs.com>                          This sig sucks!"
  186. <rcw@cellar.org>
  187. -----------------------------------------------------------------------------
  188.